<%= simple_form_for [:admin, @program], :defaults => { :input_html => { :class => "form-control" } }, remote: true, html: {class: 'form-horizontal' } do |f| %>
	<fieldset>
		<legend><%= title %></legend>
	  <%= f.association :television, collection: Television.order(:name), label: '电台', prompt: "请选择" %>
	  <%= f.association :city_channel, collection: CityChannel.order(:city_name).map{|d|["#{d.city_name} - #{d.name}", d.id]}, label: '目录' %>
	  <%= f.input :freq, label: '频点(非cmmb必填)'  %>
	  <%= f.input :cmmb_channel, label: '频道(cmmb必填)'  %>
	  <%= f.input :sid, label: 'SID', collection: 1..100  %>
	  <%= f.button :wrapped, value: '提 交' %>
  </fieldset>
<% end %>
<%= javascript_include_tag "prevent_label.js" %>